package com.example.mybatis.model;

import org.apache.ibatis.type.Alias;

import java.io.Serializable;

@Alias("LogInfoTO")
public class LogInfoTO implements Serializable {
    private String logId; //日志id

    private String restType; //请求类型

    private String restUrl; //请求URL

    private String startTime; //接口开始调用时间

    private Long expenseTime; //接口调用耗时，单位ms

    private Integer resultFlag; //接口调用结果标识，0：调用失败；1：调用成功

    public String getLogId() {
        return logId;
    }

    public void setLogId(String logId) {
        this.logId = logId;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public Long getExpenseTime() {
        return expenseTime;
    }

    public void setExpenseTime(Long expenseTime) {
        this.expenseTime = expenseTime;
    }

    public Integer getResultFlag() {
        return resultFlag;
    }

    public void setResultFlag(Integer resultFlag) {
        this.resultFlag = resultFlag;
    }

    public String getRestType() {
        return restType;
    }

    public void setRestType(String restType) {
        this.restType = restType;
    }

    public String getRestUrl() {
        return restUrl;
    }

    public void setRestUrl(String restUrl) {
        this.restUrl = restUrl;
    }
}
